package com.ruoyi.common.core.domain.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 客户数据对象 customer_info
 *
 * @author ruoyi
 * @date 2025-03-09
 */
@Data
public class CustomerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 联系人名称 */
    @Excel(name = "联系人名称")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 用户id */
    @Excel(name = "用户id")
    private Long createById;
    /** 销售多个 */
    @Excel(name = "销售多个")
    private String saleStr;

    /** 首次交流时间 */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date firstTime;

    /** 交流时长 */
    @Excel(name = "交流时长")
    private Double durationCommunication;


    @TableField(exist = false)
    private Double durationCommunicationSum;

    /** 用户id */
    @Excel(name = "用户id")
    @TableField(exist = false)
    private Long userId;

    @TableField(exist = false)
    private List<AiDeepseekAnswerTotal> aiDeepseekAnswerTotalList=new ArrayList<>();

    @TableField(exist = false)
    private List<AiRecordingDuan> aiRecordingDuanList=new ArrayList<>();



    @TableField(exist = false)
    private String userNames;

    /** 1为有效，0为无效 */
    @Excel(name = "1为有效，0为无效")
    private String effective;

    private AiDeepseekAnswerTotal aiDeepseekAnswerTotal;

}
